define(function(require, exports, module){
  var tool = require('./tool')
  
  function getData () {
    console.log('我是index.js的getData方法，我需要调用doSomething')
    tool.doSomething()
  }

  getData()
});